package buttons;

import view.DisplayList;
import controllers.ControlManager;
import buttons.control.C_VerticalDoubleSlider;
import buttons.view.V_VerticalDoubleSlider;

public class VerticalDoubleSlider extends DoubleSlider
{
  public VerticalDoubleSlider(DisplayList v, ControlManager c, String n, float xWidth, float yHeight)
  {
     super(v, c, n, xWidth, yHeight);
  }
  // constructor for buttons that don't move around:
  public VerticalDoubleSlider(DisplayList v, ControlManager c, String n, float xWidth, float yHeight, float xPos, float yPos)
  {
     super(v, c, n, xWidth, yHeight, xPos, yPos);
  }
  @Override
  protected void generateButtons(DisplayList v, ControlManager c, String n, float xWidth, float yHeight)
  {
	  vButton = new V_VerticalDoubleSlider(n, xWidth, yHeight);
      cButton = new C_VerticalDoubleSlider((V_VerticalDoubleSlider)vButton);
      addToManagerLists(v, c);
  }
}
